/*
 * UserTypeListItem.java
 * business
 *
 * Created by ChenTao on 2017/1/11.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.response.QueryUserInitInformationResponse;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.UserTypeHolder;

/** 完善会员信息-用户注册类型-ListItem */
public class UserTypeListItem
        extends DisplayListItem<UserTypeHolder, QueryUserInitInformationResponse.UserType> {

    public UserTypeListItem(QueryUserInitInformationResponse.UserType userType) {
        super(userType);
    }

    @Override
    public void onShow(Context context, UserTypeHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return UserTypeListItem.class.getSimpleName();
    }

    @Override
    public Class<UserTypeHolder> getViewHolderClazz() {
        return UserTypeHolder.class;
    }
}
